<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>西瓜后台管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="../../../layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/admin.css" media="all">
    <link rel="stylesheet" href="../../../layuiadmin/style/cueManagement.css" media="all">
</head>
<body>
<div class="layui-fluid">
    <div class="layui-card">
        <form class="layui-form layui-clear" action="" wid150>
        <div class="layui-card-block">
            <div class="layui-card-header">跟进信息</div>
            <div class="layui-card-body">
              <div class="layui-form-item">
                  <label class="layui-form-label">跟进方式<span class="layui-text-red">*</span></label>
                  <div class="layui-input-block">
                    <input type="radio" name="followTheWay" title="电话" lay-skin="primary"> 
                    <input type="radio" name="followTheWay" title="微信" lay-skin="primary"> 
                    <input type="radio" name="followTheWay" title="上门" lay-skin="primary">
                    <input type="radio" name="followTheWay" title="到店" lay-skin="primary">
                    <input type="radio" name="followTheWay" title="QQ" lay-skin="primary">
                    <input type="radio" name="followTheWay" title="其它" lay-skin="primary">
                    <div class="layui-input-inline checkbox-input">
                      <input type="text" name="other" placeholder="请输入" class="layui-input " />
                    </div>
                  </div>
               </div>
               <div class="layui-form-item">
                    <label class="layui-form-label">客户意向级别<span class="layui-text-red">*</span> </label>
                    <div class="layui-input-block">
                        <input type="radio" name="customerIntentionLevel" title="H (比价阶段)" lay-skin="primary"> 
                    </div>
                    <div class="layui-input-block">
                        <input type="radio" name="customerIntentionLevel" title=" A (比车阶段)" lay-skin="primary"> 
                    </div>
                    <div class="layui-input-block">
                        <input type="radio" name="customerIntentionLevel" title="B (选车阶段)" lay-skin="primary"> 
                    </div>
                    <div class="layui-input-block">
                        <input type="radio" name="customerIntentionLevel" title="C (看车阶段)" lay-skin="primary"> 
                    </div>
                    <div class="layui-input-block">
                        <input type="radio" name="customerIntentionLevel" title="F (战败)" lay-skin="primary"> 
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">本次谈话内容<span class="layui-text-red">*</span></label>
                    <div class="layui-input-block">
                        <textarea name="thisConversation" placeholder="请输入内容" class="layui-textarea"></textarea>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">计划下次跟进时间</label>
                    <div class="layui-input-inline">
                        <input name="onTime" id="date" class="layui-input Wdate" type="text"/>
                    </div>
                </div>
            </div>
        </div>

        <div class="layui-line"></div>
        <div class="layui-card-block">
           <div class="layui-card-header">客户信息</div>
           <div class="layui-card-body">
              <div class="layui-form-item">
                <label class="layui-form-label">客户姓名<span class="layui-text-red">*</span></label>
                <div class="layui-input-inline">
                   <input type="text" name="customerName" value="" placeholder="请输入" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">性别<span class="layui-text-red">*</span></label>
                <div class="layui-input-inline">
                    <select name="sex">
                        <option value="" selected="">请选择</option>
                        <option value="男">男</option>
                        <option value="女">女</option>
                    </select>
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">手机号<span class="layui-text-red">*</span></label>
                <div class="layui-input-inline">
                    <input type="text" name="phoneNumber" value="" placeholder="请输入" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item">
                <label class="layui-form-label">客户类型<span class="layui-text-red">*</span></label>
                <div class="layui-input-inline">
                  <select name="customerType">
                    <option value="" selected="">请选择</option>
                    <option value="0" >企业客户</option>
                    <option value="1" >个人客户</option>
                  </select>
                </div>
              </div>
              <div class="layui-form-item layui-col-md6 ">
                <label class="layui-form-label">职业<span class="layui-text-red">*</span> </label>
                <div class="layui-input-inline">
                    <input type="text" name="occupation" value="" placeholder="请输入" class="layui-input">
                </div>
              </div>
              <div class="layui-form-item layui-col-md12">
                <label class="layui-form-label">工作单位/职位</label>
                <div class="layui-input-inline">
                    <input type="text" name="workUnit" value="" placeholder="请输入工作单位" class="layui-input" >
                </div>
                <div class="layui-input-inline">
                    <input type="text" name="position" value="" placeholder="请输入职位" class="layui-input" >
                </div>
              </div>
             <div class="layui-form-item layui-col-md6 ">
                <label class="layui-form-label">微信<span class="layui-text-red">*</span> </label>
                <div class="layui-input-inline">
                    <input type="text" name="weChat" value="" placeholder="请输入" class="layui-input">
                </div>
            </div>
            <div class="layui-form-item layui-col-md6 ">
                <label class="layui-form-label">婚否</label>
                <div class="layui-input-inline">
                    <select name="maritalStatus">
                      <option value="0" selected="">请选择</option>
                      <option value="1">未婚</option>
                      <option value="2">已婚</option>
                    </select>
                </div>
              </div>
            </div>
         </div>

         <div class="layui-line"></div>
         <div class="layui-card-block">
         <div class="layui-card-header">来店契机</div>
         <div class="layui-card-body layadmin-takerates">
            <div class="layui-input-block">
                <input type="radio" name="opportunityShop" title="已到店" lay-skin="primary"  value="0" lay-filter="opportunityShop" id="radio-toShop" checked> 
                <input type="radio" name="opportunityShop" title="未到店" lay-skin="primary"  value="1" lay-filter="opportunityShop"> 
            </div>

            <!--已到店：模块部分-->
            <div class="opportunityShop">

            <div class="layui-input-block ">
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                   <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="电视"  value="电视" lay-skin="primary"  class="ldqj" > 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="互联网"  value="互联网" lay-skin="primary" class="ldqj" > 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="广播" value="广播" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="纸媒" value="纸媒" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
            </div>

            <div class="layui-input-block">
                <div class="layui-form-item layui-col-md1">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="户外广告" value="户外广告" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="DM派发"  value="DM派发" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="自然进店"  value="自然进店" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="外展"  value="外展" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
            </div>

            <div class="layui-input-block">
                <div class="layui-form-item layui-col-md1">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="微信"  value="微信" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                   <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="App导流" value="App导流" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="经纪人导流" value="经纪人导流" lay-skin="primary" class="ldqj"> 
                    </div>
                </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="转介绍" value="转介绍" lay-skin="primary" class="ldqj"  id="zjs"  lay-filter="zjs"> 
                        </div>
                    </div>
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="text" name="jsrxm" placeholder="请输入介绍人姓名" class="layui-input" class="jsrxm" id="jsrxm"/> 
                    </div>
                </div>
            </div>

            <div class="layui-input-block">
                <div class="layui-form-item layui-col-md1">
                    <div class="layui-input-inline">
                        <input type="checkbox" name="ldqj" title="其它" value="其它" lay-skin="primary" class="ldqj" lay-filter="other">
                    </div>
                </div> 
                <div class="layui-form-item layui-col-md1 layui-clear-none">
                    <div class="layui-input-inline">
                        <input type="text" name="other" placeholder="请输入其它类别" class="layui-input" value="" class="other" id="otherldqj"/>
                    </div>
                </div>
            </div>

            </div>
          </div>
          </div>

            <div class="layui-line"></div>
            <div class="layui-card-block">
               <div class="layui-card-header">需求分析</div>
               <div class="layui-card-body">
                  <div class="layui-form-item">
                      <label class="layui-form-label">个人显著特征</label>
                      <div class="layui-input-inline">
                         <input type="text" name="personalCharacteristics" value="" placeholder="请输入" class="layui-input">
                      </div>
                  </div>
                  <div class="layui-form-item">
                      <label class="layui-form-label">兴趣爱好</label>
                      <div class="layui-input-inline">
                          <input type="text" name="hobby" value="" placeholder="请输入" class="layui-input">
                      </div>
                  </div>
                  <div class="layui-form-item layui-col-md12">
                      <label class="layui-form-label">陪同人员情况</label>
                      <div class="layui-input-inline">
                          <input type="text" name="pscortPersonnel" value="" placeholder="请输入" class="layui-input">
                      </div>
                      <div class="layui-input-inline radiomargin-left">
                          <input type="radio" name="noPersonnel" title="无人陪同" lay-skin="primary" value="1" lay-filter="fullPayment" > 
                      </div>
                  </div>
                  <div class="layui-form-item">
                      <label class="layui-form-label">家庭成员情况</label>
                      <div class="layui-input-inline">
                          <input type="text" name="familyMember" value="" placeholder="请输入" class="layui-input">
                      </div>
                  </div>
                  <div class="layui-form-item layui-col-md12">
                      <label class="layui-form-label">当前保有车型</label>
                      <div class="layui-input-block">
                          <input type="radio" name="keepCurrentModels" title="首购" lay-skin="primary" value="0" lay-filter="fullPayment"> 
                          <input type="radio" name="keepCurrentModels" title="增购" lay-skin="primary" value="1" lay-filter="fullPayment"> 
                          <input type="radio" name="keepCurrentModels" title="换购" lay-skin="primary" value="1" lay-filter="fullPayment"> 
                     </div>
                  </div>
                  <div class="layui-form-item">
                      <label class="layui-form-label">意向车型A<span class="layui-text-red">*</span></label>
                      <div class="layui-input-inline">
                          <input type="text" name="intentionModel" value="" placeholder="请输入品牌/车系/车型" class="layui-input">
                      </div>
                  </div>
                  <div class="layui-form-item layui-col-md6 ">
                      <label class="layui-form-label">意向车型B</label>
                      <div class="layui-input-inline">
                          <input type="text" name="intentionModelB" value="" placeholder="请输入品牌/车系/车型" class="layui-input">
                      </div>
                  </div>
                 <div class="layui-form-item layui-col-md12">
                      <label class="layui-form-label">意向车型C</label>
                      <div class="layui-input-inline">
                          <input type="text" name="intentionModelC" value="" placeholder="请输入品牌/车系/车型" class="layui-input" >
                      </div>
                 </div>
                 <div class="layui-form-item layui-col-md6 ">
                       <label class="layui-form-label">计划购车预算</label>
                       <div class="layui-input-inline">
                           <input type="text" name="carBuyingBudgetPlan" value="" placeholder="请输入金额" class="layui-input">
                       </div>
                 </div>
                 <div class="layui-form-item layui-col-md6 ">
                       <label class="layui-form-label">计划购车时间</label>
                       <div class="layui-input-inline">
                          <input type="text" name="planCarBuyingTime" value="" placeholder="请输入大致时间段" class="layui-input">
                       </div>
                 </div>

                 <div class="layui-form-item">
                    <label class="layui-form-label">付款方式</label>
                    <div class="layui-input-block">
                        <input type="radio" name="payment" title="全款" lay-skin="primary" value="1" lay-filter="fullPayment">
                        <input type="radio" name="payment" title="分期" lay-skin="primary" value="0" lay-filter="fullPayment" > 
                    </div>
                </div>

                <div class="layui-form-item layui-col-md6 ">
                    <label class="layui-form-label">车辆使用场景</label>
                    <div class="layui-input-inline">
                        <input type="text" name="vehicleSseScene" value="" placeholder="请输入金额" class="layui-input">
                    </div>
                </div>
               
                <div class="layui-form-item">
                    <label class="layui-form-label">试驾情况</label>
                    <div class="layui-input-block">
                        <input type="radio" name="testCase" title="上门试驾" lay-skin="primary" value="0" lay-filter="fullPayment" checked> 
                        <input type="radio" name="testCase" title="展厅试驾" lay-skin="primary" value="1" lay-filter="fullPayment"> 
                        <input type="radio" name="testCase" title="未试驾" lay-skin="primary" value="1" lay-filter="fullPayment">   
                    </div>
                </div>
                        
                <div class="layui-form-item">
                    <label class="layui-form-label">购买关注点</label>
                    <div class="layui-input-block">
                        <input type="checkbox" name="buyingConcerns" title="安全" lay-skin="primary" value="安全" class="buyingConcerns"> 
                        <input type="checkbox" name="buyingConcerns" title="性能" lay-skin="primary" value="性能" class="buyingConcerns"> 
                        <input type="checkbox" name="buyingConcerns" title="配置" lay-skin="primary" value="配置" class="buyingConcerns">
                        <input type="checkbox" name="buyingConcerns" title="外观" lay-skin="primary" value="外观" class="buyingConcerns">
                        <input type="checkbox" name="buyingConcerns" title="其它" lay-skin="primary" value="其它" class="buyingConcerns" lay-filter="other-buyingConcerns">
                        <div class="layui-input-inline checkbox-input">
                            <input type="text" name="buyingConcerns" placeholder="请输入" class="layui-input " id="othergmgzd"/>
                        </div>
                    </div>
                </div>
            </div>
           </div>

           <div class="layui-layer-btn my_skin">
              <a class="layui-layer-btn0">新增跟进记录</a>
              <a class="layui-layer-btn1" id="btn-save">保存</a>
              <a class="layui-layer-btn2">取消</a>
           </div>
        </form>  
    </div>
  </div>
<script src="../../../layuiadmin/layui/layui.js"></script>
<script>
    layui.config({
        base: '../../../layuiadmin/' //静态资源所在路径
    }).extend({
        index: 'lib/index', //主入口模块
        list: 'cueManagement/list', //线索管理： 跟进模块
    }).use(['index','list','form','jquery'],function () {
    
    var form = layui.form
        ,$ = layui.jquery;
   //来店契机
   form.on('radio(opportunityShop)', function(data) {
       if(data.elem.title == "未到店"){
            $(".opportunityShop").addClass("layui-hide")
        }
        if(data.elem.title == "已到店"){
            $(".opportunityShop").removeClass("layui-hide")
        }
    });
    
  });
 
</script>
</body>
</html>